package systems;

import data.SiteConfigData;
import models.SiteConfigModel;

public class ConfigSystem {
    private static SiteConfigModel configs = null;
    
    public static SiteConfigModel getConfigs() {
        if (configs == null) {
            SiteConfigData cData = new SiteConfigData();
            setConfigs(cData.getConfig(1));
        }
        return configs;
    }

    public static void setConfigs(SiteConfigModel configs) {
        ConfigSystem.configs = configs;
    }    
}
